@extends('admin.public.admin');
@section('main')

<!-- 引入CSS -->
<link rel="stylesheet" type="text/css" href="/up/uploadify.css">
<!-- 引入JQ -->
<script src="/style/admin/bs/js/jquery.min.js"></script>
<!-- 引入文件上传插件 -->
<script src="/up/jquery.uploadify.min.js"></script>
<!-- 内容 -->
<div class="mws-panel grid_8">
    <div class="mws-panel-header">
         <span>添加轮播图</span>
    </div>

      <div class="mws-panel-body no-padding">

           <form class="mws-form" action="/admin/sys/slider" method="post" enctype='multipart/form-data'>
           {{csrf_field()}}

                <div class="mws-form-inline">

                     <div class="mws-form-row">
                          <label class="mws-form-label">标题</label>
                          <div class="mws-form-item">
                               <input type="text" class="small" name="title">
                          </div>
                     </div>

                     <div class="mws-form-row">
                          <label class="mws-form-label">链接</label>
                          <div class="mws-form-item">
                               <input type="text" class="small" name="href">
                          </div>
                     </div>

                     <div class="mws-form-row">
                          <label class="mws-form-label">排序</label>
                          <div class="mws-form-item">
                               <input type="number" class="small" name="orders" placehoder="数值越大越靠前">
                          </div>
                     </div>
                    
                    
                    <div class="mws-form-row">
                      <label class="mws-form-label">图片</label>
                          <div class="mws-form-item">
                            <input type="file"  name="img">
                           </div>
                      </div>
          
                     
                     <div class="mws-form-row">
                          <label class="mws-form-label">状态</label>
                          <div class="mws-form-item clearfix">
                               <ul class="mws-form-list inline">
                                    <li><input type="radio" name="status" value="0"  checked> <label>启用</label></li>
                                    <li><input type="radio" name="status" value="1"> <label>禁用</label></li>                                       
                               </ul>
                          </div>
                     </div>
                </div>
                <div class="mws-button-row">
                     <input type="submit" value="添加" class="btn btn-danger">
                     <input type="button" class="btn btn-danger" onclick="history.go(-1)" value="返回">

                </div>
           </form>
      </div>         
  </div>


@endsection